home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 2.toast / pc / sample code / quicktime / streaming / qtspacketizerreassembler / componentvideortp / headers / rtprssmcomponentvidresources.h < prev   
Encoding:
C/C++ Source or Header  |  2000-09-28  |  1.8 KB  |  79 lines

  1. /*
  2.     File:        RTPRssmComponentVidResources.h
  3.  
  4.     Contains:    Declarations for Component Video RTPReassembler resources
  5.  
  6.     Copyright:    © 1997-1999 by Apple Computer Inc. all rights reserved.
  7.  
  8. */
  9.  
  10.  
  11.  
  12. #ifndef __RTPRSSMCOMPONENTVIDRESOURCES__
  13. #define __RTPRSSMCOMPONENTVIDRESOURCES__
  14.  
  15.  
  16.  
  17. #include "ComponentVideoRTPResources.h"
  18.  
  19.  
  20.  
  21. /* ---------------------------------------------------------------------------
  22.  *        M A C R O S
  23.  * ---------------------------------------------------------------------------
  24.  */
  25.  
  26.  
  27. /*    change these for your component */
  28. /*    type and ID have to match what's in the code warrior project! */
  29.  
  30. #define COMPONENT_NAME_STRING                    "Sample Component Video Reassembler"
  31. #define COMPONENT_INFO_STRING                    "Sample Component Video Reassembler"
  32.  
  33. #define COMPONENT_ENTRY_POINT_STRING            "RTPRssmComponentVideo_ComponentDispatch"
  34. #define COMPONENT_PPC_PEF_STRING                "RTPRssmComponentVideo.pef"
  35. #define COMPONENT_68K_CODE_STRING                "RTPRssmComponentVideo.rsrc"
  36.  
  37. #define COMPONENT_VIDEO_CODEC_NAME_STRING        "Component Video"
  38.  
  39.  
  40.  
  41. /* ---------------------------------------------------------------------------
  42.  *        C O N S T A N T S
  43.  * ---------------------------------------------------------------------------
  44.  */
  45.  
  46.  
  47. enum
  48. {
  49.     kComponentType                    = kRTPReassemblerType,
  50.     kComponentSubType                = kComponentVideoDataFormat
  51. };
  52.  
  53. enum
  54. {
  55.     kComponentBaseID                = 256,
  56.     kComponentBaseIDPPC                = kComponentBaseID
  57. };
  58.  
  59. #define kComponentBaseID68K            ( kComponentBaseID + 1 )
  60.  
  61. enum
  62. {
  63.     kComponentVersion                = 0x00010001,
  64.     kComponentFlags                    = 0
  65. };
  66.  
  67. #define kComponentRegFlags            ( componentDoAutoVersion | componentHasMultiplePlatforms )
  68.  
  69. enum
  70. {
  71.     kRTPRssmComponentVideoRegistrationResource    = kComponentBaseID,
  72.     kRTPRssmComponentVideoStringListResource    = kComponentBaseID,
  73.         kRTPRssmComponentVideoCodecNameString    = 1
  74. };
  75.  
  76.  
  77.  
  78. #endif /* __RTPRSSMCOMPONENTVIDRESOURCES__ */
  79.